<template>
    <div class="app">
        <p>{{ msg }}</p>

        <my-button>default button</my-button>
        <my-button type="danger">danger button</my-button>

        <nav>
            <router-link to="/login">login</router-link>
            <router-link to="/user">user</router-link>
        </nav>

        <router-view />
    </div>
</template>

<script>
    import MyButton from './button.vue'

    export default {
        name: 'app',

        components: {
            MyButton
        },

        data () {
            return {
                msg: 'vue message'
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>
